#ifndef TEMPLATER_H
#define TEMPLATER_H

#include <QObject>
#include <QStringList>

struct PathInfo
{
    QString path;
    QString key;
};

typedef QList<PathInfo> PathList;

class Templater : public QObject
{
    Q_OBJECT
public:
    explicit Templater(QObject *parent = 0);

    QString fileName() const;
    void setFileName(const QString &fileName);

    QString filter() const;
    void setFilter(const QString &filter);

    PathList pathList() const;
    void setPathList(const PathList &pathList);

    void save();
    void load();
    
signals:
    
public slots:

private:
    QString m_fileName;
    QString m_filter;
    PathList m_pathList;
    
};

#endif // TEMPLATER_H
